package com.jhgk.jhcee.cpbg.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class CpbgAccountRelation implements Serializable {
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "用户名")
    private String yhm;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "用户关系")
    private String yhmRelation;

    @ApiModelProperty(value = "亲属关系 1 父亲 2 母亲")
    private Integer domesticRelation;

    @ApiModelProperty(value = "使用次数")
    private Integer useNum;

    @ApiModelProperty(value = "是否有效 0 无效 1 有效")
    private Integer isValid;

    @ApiModelProperty(value = "创建日期")
    private Date createDate;

    @ApiModelProperty(value = "更新日期")
    private Date updateDate;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getYhm() {
        return yhm;
    }

    public void setYhm(String yhm) {
        this.yhm = yhm;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getYhmRelation() {
        return yhmRelation;
    }

    public void setYhmRelation(String yhmRelation) {
        this.yhmRelation = yhmRelation;
    }

    public Integer getDomesticRelation() {
        return domesticRelation;
    }

    public void setDomesticRelation(Integer domesticRelation) {
        this.domesticRelation = domesticRelation;
    }

    public Integer getUseNum() {
        return useNum;
    }

    public void setUseNum(Integer useNum) {
        this.useNum = useNum;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", yhm=").append(yhm);
        sb.append(", phone=").append(phone);
        sb.append(", yhmRelation=").append(yhmRelation);
        sb.append(", domesticRelation=").append(domesticRelation);
        sb.append(", useNum=").append(useNum);
        sb.append(", isValid=").append(isValid);
        sb.append(", createDate=").append(createDate);
        sb.append(", updateDate=").append(updateDate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}